package com.apex.lottery.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName UserRegisterParam
 * @Description 参数
 * @Author ZJX
 * @Date 2024/9/23 15:26
 * @Version 1.0
 */
@Data
public class UserRegisterParam implements Serializable {

    @NotBlank(message = "姓名不能为空! ")
    private String name;

    @NotBlank(message = "邮箱不能为空! ")
    private String mail;

    @NotBlank(message = "手机号不能为空! ")
    private String phoneNumber;

    private String password;

    @NotBlank(message = "身份不能为空! ")
    private String identity; // 身份信息
}
